/*
	Copyright (c) 2007, ANYwebcam.com Pty Ltd. All rights reserved.

	The software in this package is published under the terms of the BSD style 
	license, a copy of which has been included with this distribution in the 
	license.txt file.
*/
package com.anywebcam.di.samples.movieApp
{
	public class Movie
	{
		/**
		 * The name of the Movie
		 */
		public var name:String;
		
		/**
		 * The name of the director of this movie
		 */
		public var director:String;

		/**
		 * @param name The name of the Movie
		 * @param directory The name of the director of this movie
		 */
		public function Movie( name:String, director:String )
		{
			this.name = name;
			this.director = director;
		}
		
		public function toString():String
		{
			return name + ' ('+ director +')';
		}
	}
}